<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="WebPages_edit.aspx.cs" Inherits="WebPages_edit" title="Project Monitoring System" culture="Auto:en-US" uiculture="auto" meta:resourcekey="PageResource1" %>
<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="ContentPlaceHolder1"
    Visible="false">
</asp:Content>
<asp:Content ID="Content2" runat="server" ContentPlaceHolderID="ContentPlaceHolder2">
<asp:ObjectDataSource ID="ODSPages" runat="server" DeleteMethod="Delete" InsertMethod="Insert"
    SelectMethod="GetPages" OldValuesParameterFormatString="original_{0}" TypeName="IPTableAdapters.PagesTableAdapter" UpdateMethod="Update">
    <DeleteParameters>
        <asp:Parameter Name="PageName" Type="String" />
    </DeleteParameters>
    <InsertParameters>
        <asp:Parameter Name="PageName" Type="String" />
        <asp:Parameter Name="Description" Type="String" />
    </InsertParameters>
    <UpdateParameters>
        <asp:Parameter Name="PageName" Type="String" />
        <asp:Parameter Name="Description" Type="String" />
    </UpdateParameters>
</asp:ObjectDataSource>

<table style="width:970px;">
<tr>
<td style="width: 970px; height: 321px; vertical-align: top;" >
            <fieldset style="text-align: center;" > 
                <br />
                <table style="width:970px;" >
                    <tr>
                        <td style="vertical-align: top; width: 20%; text-align: right">
                            <asp:Label ID="lblPageName" runat="server" Text="Page Name" Width="100%" meta:resourcekey="lblPageNameResource1"></asp:Label></td>
                        <td style="width: 344px; vertical-align: top; text-align: left;">
                            <asp:TextBox ID="txtPageName" runat="server" Width="207px" meta:resourcekey="txtPageNameResource1"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td style="vertical-align: top; width: 20%; text-align: right;">
                            <asp:Label ID="lblDescription" runat="server" Text="Description" Width="100%" meta:resourcekey="lblDescriptionResource1"></asp:Label></td>
                        <td style="width: 344px; vertical-align: top; text-align: left;">
                            <asp:TextBox ID="txtDescription" runat="server" Width="399px" meta:resourcekey="txtDescriptionResource1"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td style="vertical-align: top; width: 20%; text-align: right">
                        </td>
                        <td style="width: 344px; vertical-align: top; text-align: left;">
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" style="text-align: center">
                            <div style="padding-right: 5px; padding-left: 5px; padding-bottom: 5px; padding-top: 5px">
                                <asp:Button ID="btnSave" runat="server" CssClass="submit" OnClick="btnSave_Click"
                                    Text="Save" meta:resourcekey="btnSaveResource1" />
                                <asp:Button ID="btnDelete" runat="server" CausesValidation="False" CssClass="submit"
                                    OnClick="btnDelete_Click" Text="Delete" meta:resourcekey="btnDeleteResource1" />
                                <asp:Button ID="btnBack" runat="server" CausesValidation="false" CssClass="reset" meta:resourcekey="btnBackResource1" Text="Back" OnClick="btnBack_Click" />

                            </div>
                        </td>
                    </tr>
                </table>
                <asp:CheckBox ID="cbForUpdate" runat="server" Height="2px" Visible="False" Width="121px" meta:resourcekey="cbForUpdateResource1" />
                    </fieldset>
            </td></tr>
</table>
<table height="500">
		<tr><td></td></tr>
	</table>
</asp:Content>

